Page({
    data: {
        works: [
            './../../assets/swiper1.jpeg',
            './../../assets/swiper2.jpeg',
            './../../assets/zuopin.jpeg',
            './../../assets/jiangpin.jpeg',
        ]
    },
    onLoad: function (options) {

    },
    getLarge(e) {
        console.log(e.currentTarget.dataset.src)
        wx.previewImage({
            current: 'http://img.jf258.com/uploads/2014-08-24/211112959.jpg', // 当前显示图片的http链接
            urls: ['http://img.jf258.com/uploads/2014-08-24/211112959.jpg'] // 需要预览的图片http链接列表
        })
    },
    goHome(e){
        wx.reLaunch({
            url: '/pages/home/home'
        })
    }
})